package org.JQbitorrentClinet.impl.V283;

import org.JQbitorrentClinet.QBitorrentConnectionInfo;
import org.JQbitorrentClinet.base.BaseProxy;
import org.JQbitorrentClinet.interfaces.SyncProxy;
import org.JQbitorrentClinet.pojo.sync.SyncMainData;
import org.JQbitorrentClinet.request.sync.GetMainDataParam;

public class SyncPorxy_V2_8_3 extends BaseProxy implements SyncProxy {
    public SyncPorxy_V2_8_3(QBitorrentConnectionInfo connectionInfo) {
        super(connectionInfo);
    }

    @Override
    public SyncMainData getMainData(Integer rid) {
        login();
        return process(new GetMainDataParam(rid));
    }

    @Override
    public String getTorrentPeersData(String hash, Integer rid) {
        return null;
    }
}
